|
|
I am trying to create 'wafers' with a small depth, and with rounded edges, a
bit like those created using the superellipsoid command. I can't find a
simple way to do this. I have tried creating one shape by joining three
superellipsoids together, but the result is not perfect. Here is my code:
+++++++++++++++++++++++++++++++++++++++++++++++++++
#include "colors.inc"
#declare roundness = .1;
union{
superellipsoid {
<1, roundness>
translate -x
}
superellipsoid {
<.02, roundness>
}
superellipsoid {
<1, roundness>
translate x
}
pigment {
color Yellow
}
finish{phong 1}
}
plane{
z ,2
pigment {
color White
}
}
//===================================
light_source {<-10,20,-100> color White}
camera {
location <-10,10, -30.0>
look_at <0.0, 0.0, 0.0>
angle 10
}
+++++++++++++++++++++++++++++++++++++++++++++++++++
Kaveh
Post a reply to this message
|
|